package com.rentcars.entity;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

/**
 * @author 只是将有值的属性转为json
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Result {
    /**  业务代码 */
    private int code;
    /**  业务信息 */
    private String message;
    /**  业务数据 */
    private List<Object> data;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<Object> getData() {
        return data;
    }

    public void setData(List<Object> data) {
        this.data = data;
    }
}
